package com.magist.manage.copyrights.service;

import com.github.pagehelper.PageInfo;
import com.magist.core.entity.Page;
import com.magist.core.service.BaseService;
import tk.mybatis.mapper.entity.Example;

import  com.magist.manage.copyrights.entity.ContractBalance;

public interface ContractBalanceService extends BaseService<ContractBalance>{

    /**
     * 分页方法
     * @param example
     * @param page
     * @return
     */
    PageInfo<ContractBalance> page(Example example, Page page);

    /**
     * 通过合同ID查询
     * @param contractId
     * @return
     */
    ContractBalance getByContractId(String contractId);

}